package example07plus.enity;

public class Ticket {
    private int id;
    private String startingStation;
    private String endingStation;
    public Ticket(int id ,String startingStation , String endingStation) {
        this.id = id;
        this.startingStation = startingStation;
        this.endingStation = endingStation;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStartingStation() {
        return startingStation;
    }

    public void setStartingStation(String startingStation) {
        this.startingStation = startingStation;
    }

    public String getEndingStation() {
        return endingStation;
    }

    public void setEndingStation(String endingStation) {
        this.endingStation = endingStation;
    }
}
